/**
 * 
 */
package dms.service;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 李健
 *
 */
public interface AuthenticationService {
	boolean isLogin(HttpServletRequest request);
	
	boolean forgetPassword(long id, String passwordAnswer);
	
	boolean forgetPassword(String name, String passwordAnswer);
	
	boolean isUserExist(String name);
	
	boolean checkAuthentication(String name, String password);
}
